package com.glowdayz.glowmee.cmd;

import com.glowdayz.common.MultipartBox.FileInfo;

/** 관리자 테이블 정보를 표현하는 Model 클래스 */
public class AdminTableCMD {
	
	private int idAdminBoard;
	private String boardType;
	private int eventLinkType;
	private String eventLinkTypeValue;
	private String eventLinkCode;
	private String boardTitle;
	private String boardText;
	private int idBrand;
	private String idBrandValue;
	private String start_date;
	private String end_date;
	private int adminTableImg;
	private FileInfo image;
	private int isDisplay;
	private int readCount;
	private int comment_count;
	private String create_date;
	private String modified_date;
	
	public AdminTableCMD() {
	}
	
	/** 공지사항 리스트용 */
	public AdminTableCMD(int idAdminBoard, String boardType, String boardTitle,
			String boardText, int isDisplay, int readCount, String create_date) {
		super();
		this.idAdminBoard = idAdminBoard;
		this.boardType = boardType;
		this.boardTitle = boardTitle;
		this.boardText = boardText;
		this.isDisplay = isDisplay;
		this.readCount = readCount;
		this.create_date = create_date;
	}
	
	/** 공지사항 추가용 */
	public AdminTableCMD(String boardTitle,
			String boardText, FileInfo image) {
		super();
		this.boardTitle = boardTitle;
		this.boardText = boardText;
		this.image = image;
	}
	
	/** 공지사항 수정용 */
	public AdminTableCMD(int idAdminBoard, String boardTitle,
			String boardText, FileInfo image) {
		super();
		this.idAdminBoard = idAdminBoard;
		this.boardTitle = boardTitle;
		this.boardText = boardText;
		this.image = image;
	}
	
	/** 공지사항 조회용 */
	public AdminTableCMD(int idAdminBoard, String boardType, String boardTitle,
			String boardText, int adminTableImg, FileInfo image,
			int isDisplay, int readCount, String create_date) {
		super();
		this.idAdminBoard = idAdminBoard;
		this.boardType = boardType;
		this.boardTitle = boardTitle;
		this.boardText = boardText;
		this.adminTableImg = adminTableImg;
		this.image = image;
		this.isDisplay = isDisplay;
		this.readCount = readCount;
		this.create_date = create_date;
	}
	
	/** 이벤트 추가용 */
	public AdminTableCMD(int eventLinkType, String eventLinkCode, String boardTitle,
			String boardText, int idBrand, String start_date, String end_date,
			FileInfo image) {
		super();
		this.eventLinkType = eventLinkType;
		this.eventLinkCode = eventLinkCode;
		this.boardTitle = boardTitle;
		this.boardText = boardText;
		this.idBrand = idBrand;
		this.start_date = start_date;
		this.end_date = end_date;
		this.image = image;
	}
	
	/** 이벤트 수정용 */
	public AdminTableCMD(int idAdminBoard, int eventLinkType,
			String eventLinkCode, String boardTitle,
			String boardText, int idBrand, String start_date, String end_date,
			FileInfo image, int isDisplay) {
		super();
		this.idAdminBoard = idAdminBoard;
		this.eventLinkType = eventLinkType;
		this.eventLinkCode = eventLinkCode;
		this.boardTitle = boardTitle;
		this.boardText = boardText;
		this.idBrand = idBrand;
		this.start_date = start_date;
		this.end_date = end_date;
		this.image = image;
		this.isDisplay = isDisplay;
	}
	
	/** 이벤트 조회용 */
	public AdminTableCMD(int idAdminBoard, int eventLinkType,
			String eventLinkCode, String boardTitle,
			String boardText, int idBrand, String idBrandValue,
			String start_date, String end_date,
			FileInfo image, int isDisplay, int comment_count) {
		super();
		this.idAdminBoard = idAdminBoard;
		this.eventLinkType = eventLinkType;
		this.eventLinkCode = eventLinkCode;
		this.boardTitle = boardTitle;
		this.boardText = boardText;
		this.idBrand = idBrand;
		this.idBrandValue = idBrandValue;
		this.start_date = start_date;
		this.end_date = end_date;
		this.image = image;
		this.isDisplay = isDisplay;
		this.comment_count = comment_count;
	}
	
	/** 이벤트 리스트 조회용 */
	public AdminTableCMD(int idAdminBoard, String boardTitle,
			int idBrand, String idBrandValue,
			String start_date, String end_date, int isDisplay, int readCount,
			int comment_count, String create_date) {
		super();
		this.idAdminBoard = idAdminBoard;
		this.boardTitle = boardTitle;
		this.idBrand = idBrand;
		this.idBrandValue = idBrandValue;
		this.start_date = start_date;
		this.end_date = end_date;
		this.isDisplay = isDisplay;
		this.readCount = readCount;
		this.comment_count = comment_count;
		this.create_date = create_date;
	}
	
	/** 게시판 전시여부용 */
	public AdminTableCMD(int idAdminBoard, int isDisplay) {
		super();
		this.idAdminBoard = idAdminBoard;
		this.isDisplay = isDisplay;
	}
	
	/** 기타관리 수정용 */
	public AdminTableCMD(String boardType, String boardText) {
		super();
		this.boardType = boardType;
		this.boardText = boardText;
	}
	
	/** 이벤트 리스트 xml */
	public AdminTableCMD(int idAdminBoard, String boardTitle,
			int idBrand, String idBrandValue,
			String start_date, String end_date, FileInfo image) {
		super();
		this.idAdminBoard = idAdminBoard;
		this.boardTitle = boardTitle;
		this.idBrand = idBrand;
		this.idBrandValue = idBrandValue;
		this.start_date = start_date;
		this.end_date = end_date;
		this.image = image;
	}
	
	/** 공지사항 xml */
	public AdminTableCMD(int idAdminBoard, String boardTitle,
			String boardText, FileInfo image, String create_date) {
		super();
		this.idAdminBoard = idAdminBoard;
		this.boardTitle = boardTitle;
		this.boardText = boardText;
		this.image = image;
		this.create_date = create_date;
	}

	public AdminTableCMD(int idAdminBoard, String boardType, int eventLinkType,
			String eventLinkTypeValue, String eventLinkCode, String boardTitle,
			String boardText, int idBrand, String idBrandValue,
			String start_date, String end_date, int adminTableImg,
			FileInfo image, int isDisplay, int readCount, int comment_count,
			String create_date, String modified_date) {
		super();
		this.idAdminBoard = idAdminBoard;
		this.boardType = boardType;
		this.eventLinkType = eventLinkType;
		this.eventLinkTypeValue = eventLinkTypeValue;
		this.eventLinkCode = eventLinkCode;
		this.boardTitle = boardTitle;
		this.boardText = boardText;
		this.idBrand = idBrand;
		this.idBrandValue = idBrandValue;
		this.start_date = start_date;
		this.end_date = end_date;
		this.adminTableImg = adminTableImg;
		this.image = image;
		this.isDisplay = isDisplay;
		this.readCount = readCount;
		this.comment_count = comment_count;
		this.create_date = create_date;
		this.modified_date = modified_date;
	}

	public int getIdAdminBoard() {
		return idAdminBoard;
	}

	public void setIdAdminBoard(int idAdminBoard) {
		this.idAdminBoard = idAdminBoard;
	}

	public String getBoardType() {
		return boardType;
	}

	public void setBoardType(String boardType) {
		this.boardType = boardType;
	}

	public int getEventLinkType() {
		return eventLinkType;
	}

	public void setEventLinkType(int eventLinkType) {
		this.eventLinkType = eventLinkType;
	}

	public String getEventLinkTypeValue() {
		return eventLinkTypeValue;
	}

	public void setEventLinkTypeValue(String eventLinkTypeValue) {
		this.eventLinkTypeValue = eventLinkTypeValue;
	}

	public String getEventLinkCode() {
		return eventLinkCode;
	}

	public void setEventLinkCode(String eventLinkCode) {
		this.eventLinkCode = eventLinkCode;
	}

	public String getBoardTitle() {
		return boardTitle;
	}

	public void setBoardTitle(String boardTitle) {
		this.boardTitle = boardTitle;
	}

	public String getBoardText() {
		return boardText;
	}

	public void setBoardText(String boardText) {
		this.boardText = boardText;
	}

	public int getIdBrand() {
		return idBrand;
	}

	public void setIdBrand(int idBrand) {
		this.idBrand = idBrand;
	}

	public String getIdBrandValue() {
		return idBrandValue;
	}

	public void setIdBrandValue(String idBrandValue) {
		this.idBrandValue = idBrandValue;
	}

	public String getStart_date() {
		return start_date;
	}

	public void setStart_date(String start_date) {
		this.start_date = start_date;
	}

	public String getEnd_date() {
		return end_date;
	}

	public void setEnd_date(String end_date) {
		this.end_date = end_date;
	}

	public int getAdminTableImg() {
		return adminTableImg;
	}

	public void setAdminTableImg(int adminTableImg) {
		this.adminTableImg = adminTableImg;
	}

	public FileInfo getImage() {
		return image;
	}

	public void setImage(FileInfo image) {
		this.image = image;
	}

	public int getIsDisplay() {
		return isDisplay;
	}

	public void setIsDisplay(int isDisplay) {
		this.isDisplay = isDisplay;
	}

	public int getReadCount() {
		return readCount;
	}

	public void setReadCount(int readCount) {
		this.readCount = readCount;
	}

	public int getComment_count() {
		return comment_count;
	}

	public void setComment_count(int comment_count) {
		this.comment_count = comment_count;
	}

	public String getCreate_date() {
		return create_date;
	}

	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}

	public String getModified_date() {
		return modified_date;
	}

	public void setModified_date(String modified_date) {
		this.modified_date = modified_date;
	}

	@Override
	public String toString() {
		return "AdminTableCMD [idAdminBoard=" + idAdminBoard + ", boardType="
				+ boardType + ", eventLinkType=" + eventLinkType
				+ ", eventLinkTypeValue=" + eventLinkTypeValue
				+ ", eventLinkCode=" + eventLinkCode + ", boardTitle="
				+ boardTitle + ", boardText=" + boardText + ", idBrand="
				+ idBrand + ", idBrandValue=" + idBrandValue + ", start_date="
				+ start_date + ", end_date=" + end_date + ", adminTableImg="
				+ adminTableImg + ", image=" + image + ", isDisplay="
				+ isDisplay + ", readCount=" + readCount + ", comment_count="
				+ comment_count + ", create_date=" + create_date
				+ ", modified_date=" + modified_date + "]";
	}
	
}
